Rename Folder Action Icon

Rename Folder Action

Declaration

<AMRENAMEFOLDER FOLDER="text" NEWNAME="text">

See Also

Copy File, Rename File, Delete File, Delete Folder, Create Folder

Description

Renames a folder. If the new folder name specified contains sub-folders then they will also be created.

Practical Usage

See description.

Parameters

General Tab

Original Folder Name
Text, Required
MARKUP:
a) FOLDER="c:\sourcefoldername\"
b) FOLDER="c:\sourcefoldername\subfoldername"

Specifies the folder(s) to rename.

New Folder Name
Text, Required
MARKUP:
a) NEWFOLDER="c:\newsourcefoldername\"
b) NEWFOLDER="c:\newsourcefoldername\subfoldername"

Specifies the new name for the folder(s).

Notes

Standard Error Handling Options
This action also includes the standard "Error Causes" and "On Error" failure handling options/tabs

More on Error Handling Options

Variables and Expressions
All text fields allow the use of expressions by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, a popup expression builder is available in all these fields by pressing F2.
More on variables...

More on expressions...

More on the expression builder...

Example

<AMRENAMEFOLDER FOLDER="c:\folder1\" NEWNAME="c:\newfoldername\">